<div class="jumbotron text-center">
    <h1>首届百家狮企交流会抽奖</h1>
</div>
<div class="container">
    <div class="col-lg-10">
        <div class="panel panel-default">
            <div class="panel-body">
                <form class="form-horizontal" role="form">
                    <div class="form-group">
                        <label for="inputEmail3" class="col-sm-2 control-label">奖项</label>
                        <div class="col-sm-10">
                            <select class="form-control" id="inputEmail3" data-ng-model="prizeId">
                                <option>1</option>
                                <option>2</option>
                                <option>3</option>
                                <option>4</option>
                                <option>5</option>
                            </select>
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">人数</label>
                        <div class="col-sm-10">
                            <input type="number" class="form-control" id="inputPassword3" data-ng-model="prizeCount" placeholder="请输入抽奖奖项获得人数">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button  class="btn btn-default" ng-click="doRandom()">开始抽奖</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <div class="panel panel-warning">
            <div class="panel-heading">获奖名单</div>
            <div class="panel-body">
                <div ng-repeat="item in userList" class="col-lg-1">
                    <img class="img-responsive" ng-src="{{item.headimgurl}}">
                    <span>{{item.nickname}}</span>
                </div>
            </div>
        </div>
    </div>
    <div class="col-lg-2">
        <div class="panel panel-warning">
            <div class="panel-heading">已获奖记录</div>
            <div class="panel-body">
                <div ng-repeat="item in prizeResult">
                    <span>奖项：{{item.prizeId}}</span>
                </div>
            </div>
        </div>
    </div>
</div>